﻿<div bsModal #createOrEditModal="bs-modal" class="modal fade" tabindex="-1" role="dialog"
    aria-labelledby="createOrEditModal" aria-hidden="true" [config]="{backdrop: 'static', keyboard: !saving}">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <form *ngIf="active" #orderForm="ngForm" (ngSubmit)="save()">
                <div class="modal-header">
                    <h4 class="modal-title">
                        <span >处理问题</span>
                    </h4>
                    <button type="button" class="close" (click)="close()" [attr.aria-label]="l('Close')"
                        [disabled]="saving">
                        <span aria-hidden="true">&times;</span>
                    </button>
                </div>
                <div class="modal-body">
                    <div class="row">
                        <div class="col-md-12 ">
                            <div class="form-group m-form__group m--margin-10">
                                <label for="requestId1">
                                    问题编号
                                </label>
                                <input id="requestId1" name="requestId1" readonly class="form-control" [(ngModel)]="requestId">
                            </div>
                        </div>
                        <div class="col-md-12 m--margin-bottom-10">
                                <div class="form-group m-form__group m--margin-10">
                                        <label for="picNo">
                                            跳转位置
                                        </label>
                                        <select id="DefaultEditionId" class="form-control" [(ngModel)]="gotoOrderIndex" name="DefaultEditionId">                                   
                                            <option *ngFor="let processExe of processExeList" [value]="processExe.value">{{processExe.displayText}}</option>
                                        </select>
                                    </div>
                           
                        </div>
                        <div class="col-md-12">
                            <div class="form-group m-form__group m--margin-10">
                                <label for="m_autosize_1">
                                    处理办法
                                </label>  
                                <textarea class="form-control" id="m_autosize_1" name="m_autosize_1"  [(ngModel)]="respondInfo" rows="5" ></textarea>                             
                            </div>
                        </div>
             
                        
                    </div>

                </div>
                <div class="modal-footer">
                    <button [disabled]="saving" type="button" class="btn btn-default"
                        (click)="close()">{{"Cancel" | localize}}</button>
                    <button type="submit" class="btn btn-primary" [disabled]="!orderForm.form.valid"
                        [buttonBusy]="saving" [busyText]="l('SavingWithThreeDot')"><i class="fa fa-save"></i>
                        <span>{{"Save" | localize}}</span></button>
                </div>
            </form>
        </div>
    </div>
</div>